package cn.tedu.reflect;

//配合 测试 反射
public class Student {
    public  Student() {
        System.out.println(111);
    }

    public Student(double score) {
        this.score = score;
    }

    public Student(String name, int age) {
        this.name = name;
        this.age = age;
    }

    public Student(int age) {
        this.age = age;
    }

    public Student(String name) {
        this.name = name;
    }

    public Student(String name, int age, double score) {
        this.name = name;
        this.age = age;
        this.score = score;
    }

    String name;
    int age;
    double score;

    public void study(){
        System.out.println("study()");
    }
    public void coding(String a, int b){
        System.out.println("coding()");
    }

    @Override
    public String toString() {
        return "Student{" +
                "name='" + name + '\'' +
                ", age=" + age +
                ", score=" + score +
                '}';
    }
}
